package com.zzc.zzcapi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzc.zzcapi.model.entity.UserInterfaceInfo;
import org.apache.ibatis.annotations.Param;

/**
* @author Lenovo
* @description 针对表【user_interface_info(用户调用接口关系)】的数据库操作Mapper
* @createDate 2024-04-26 19:13:02
* @Entity generator.domain.UserInterfaceInfo
*/
public interface UserInterfaceInfoMapper extends BaseMapper<UserInterfaceInfo> {

    void invokeCount(@Param("interfaceInfoId") Long interfaceInfoId, @Param("userId") Long userId);

    void resetCount(@Param("interfaceInfoId")Long interfaceInfoId, @Param("userId") Long userId, @Param("defaultNum") Integer defaultNum);
}




